<template>
  <view class="page">
    <u-form :model="editForm" labelWidth="auto" ref="uForm">
		<view class=""  @tap.stop="Jump('/pages/my/userInfo')">
			<u-form-item label="个人资料"  borderBottom >
				<u-icon slot="right" name="arrow-right" />
			</u-form-item>
		</view>
		<view class="" @tap.stop="Jump('/pages/my/editCode')">
			<u-form-item label="密码修改"  borderBottom  >
			    <u-icon slot="right" name="arrow-right" />
			</u-form-item>
		</view>
    </u-form>

  </view>
</template>

<script>
import { commonUpload } from "@/request/common.js";
import { myUpdateInfo } from "@/request/myApi.js";
export default {
  data() {
    return {

    };
  },

  onLoad() {
    this.init();
  },
  methods: {
    // 跳转
    Jump(url) {
    	uni.navigateTo({
    		url: url
    	})
    },
    // 初始化数据
    init() {
      this.editForm = this.$getStorage("USER_INFO") || {};
      this.sexValue = this.editForm.gender ? "男" : "女";
    }
  },
};
</script>

<style lang="scss" scoped>
.page {
  padding: 20rpx 38rpx;
  .btn {
    position: fixed;
    bottom: 100rpx;
    left: 30rpx;
    right: 30rpx;
  }
	/deep/ .u-button {
		background: #466EC5;
		border-color: transparent;
	}
	/deep/ .u-form-item__body{
		padding: 28rpx 0;
	}
	/deep/ .u-line{
		border-color: #D9D9D999;
	}
}
</style>
